//
//  AboInPay.h
//  EyuGameSDK
//
//  Created by 李长春 on 2022/5/12.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

typedef void (^OrderSuccessBlock)(NSDictionary *orderData);
typedef void (^OrderFailureBlock)(NSError *failMsg);

@interface AboInPay : NSObject

//单例
+(instancetype)sharedInstance;


//获取订单
-(void)GetOrderIDWithRoleid:(NSString*)roleID rolename:(NSString*)roleName rolelevel:(NSString*)roleLevel serverid:(NSString*)serverID servername:(NSString*)serverName viplevel:(NSString*)vipLevel itemid:(NSString*)itemID cpOrderid:(NSString*)cpOrderID notify:(NSString*)notifyUrl cpext:(NSString*)cpExt itemName:(NSString*)itemName success:(OrderSuccessBlock)mySure fail:(OrderFailureBlock)myfalse;



@end

NS_ASSUME_NONNULL_END
